package com.imu.wys.m3;

/**
 * 属性注入
 */
public class Director {
    public void directMoive(){
        GeLi geLi = new LiuDeHua();
        MoAttak m = new MoAttak();
        m.setGeLi(geLi);
        m.cityGateAsk();
    }


    public static void main(String[] args) {
        Director director = new Director();
        director.directMoive();
    }

}
